package com.ftg.learn.fn.controller;

import com.ftg.learn.fn.service.ReadService;
import com.ftg.learn.util.R;
import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author 布衣
 */
@RestController
public class ReadController {


    @Resource
    ReadService readService;

    @GetMapping("/read")
    public R<String> readExcel(){
        return readService.readExcel("C:\\Users\\lovex\\Desktop\\院校基本信息\\哈石油\\石油点名册\\教师点名册 (1).xls");
    }

}
